<!DOCTYPE html>
<html>
<html>
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <title>第三方授权</title>
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="/css/signin.css"/>
</head>

<body>
<nav class="navbar navbar-default container-fluid">

</nav>
<div style="padding-top: 80px;width: 300px; color: #555; margin:0px auto;">
    <form id='confirmationForm' name='confirmationForm' action="/oauth2/authorize" method='post'>
        <input type="hidden" name="client_id" value="${clientId}">
        <input type="hidden" name="state" value="${state}">
        <p><a >${clientName}</a> 将获得以下权限：</p>
        <ul class="list-group">
            <#list scopeList as scope>
            <li class="list-group-item">
                <input type="checkbox" <#if scope==s_scope> checked="checked" </#if> name="scope" value="${scope}"/><label>${scope}</label>
            </li>
            </#list>
        </ul>
        <p class="help-block">授权后表明你已同意 <a>服务协议</a></p>
        <button class="btn btn-success pull-right" type="submit" id="write-email-btn">授权</button>
    </form>
</div>
<footer>
    <p>support by: oig.com</p>
</footer>
</body>
</html>